﻿<Window x:Name="SettingsDlg_ViewDataSourceData" x:Class="WMSSoft.WinKStart.Settings_ViewDataSourceData"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Show Data from DataSource " Height="442" Width="781" IsVisibleChanged="SettingsDlg_ViewDataSourceData_IsVisibleChanged" Loaded="SettingsDlg_ViewDataSourceData_Loaded">
    <Grid Margin="10">
        <Grid.RowDefinitions>
            <RowDefinition Height="30"/>
            <RowDefinition/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="269*"/>
            <ColumnDefinition Width="5"/>
            <ColumnDefinition Width="504*"/>
        </Grid.ColumnDefinitions>
        <TreeView x:Name="trv_DataSourceFolders" Grid.Column="0" Grid.Row="1" SelectedItemChanged="trv_DataSourceFolders_SelectedItemChanged"/>
        <ListView x:Name="lv_DataSourceFolderItems" Grid.Column="2" Grid.Row="1">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="Viewname" DisplayMemberBinding="{Binding ViewName}"/>
                    <GridViewColumn Header="Command" DisplayMemberBinding="{Binding LinkFilename}"/>
                    <GridViewColumn Header="Arguments" DisplayMemberBinding="{Binding Arguments}" />
                    <GridViewColumn Header="Working Directory" DisplayMemberBinding="{Binding WorkingDirectory}" />
                </GridView>
            </ListView.View>
        </ListView>
        <Button x:Name="btn_CloseDlg" Content="Close" HorizontalAlignment="Right" Margin="0,20,321,0" Grid.Row="2" VerticalAlignment="Top" Width="75" Click="btn_CloseDlg_Click" Grid.Column="2"/>
        <Label x:Name="lbl_DataSourceName" Grid.Column="0" Content="No DataSource" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="249"/>
        <Label x:Name="lbl_SelectedFolderPath" Grid.Column="2" Content="Root" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" Width="484"/>
        <GridSplitter Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>

    </Grid>
</Window>
